package com.tzbank.common.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;

public class FlowOptimize {

	private int autoId;

	private String flowRuleId;

	private String flowId;

	private String ruleName;

	private String operator;

	public enum ENUM_OPERATOR {
		VALUE_BIG(">"), 
		VALUE_SMALL("<"), 
		VALUE_EQUAL("="), 
		VALUE_NOTEQUAL("<>");

		private String val;

		private ENUM_OPERATOR(String val) {
			this.val = val;
		}

		public String val() {
			return this.val;
		}
	}

	private String rangeValue;

	private String remark;

	public int getAutoId() {
		return autoId;
	}

	public void setAutoId(int autoId) {
		this.autoId = autoId;
	}

	public String getFlowRuleId() {
		return flowRuleId;
	}

	public void setFlowRuleId(String flowRuleId) {
		this.flowRuleId = flowRuleId;
	}

	public String getFlowId() {
		return flowId;
	}

	public void setFlowId(String flowId) {
		this.flowId = flowId;
	}

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getRangeValue() {
		return rangeValue;
	}

	public void setRangeValue(String rangeValue) {
		this.rangeValue = rangeValue;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
